package com.jxc.dao;

import java.util.List;

import com.jxc.entity.TbMenu;
import com.jxc.entity.TbPermission;
import com.jxc.entity.TbPermissionRole;

/**
 * @包名   com.jxc.system.role.dao
 * @文件名 OpDataBaseControlDAO.java
 * @作者   mopzyqing
 * @创建日期 Jul 15, 2010
 * @版本 V 1.0
 */
public interface OpDataBaseControlDAO {

	 //获取二级菜单Id
	public List QueryMenu(int orderby,int ParentOrderbyid);
	//根据二级菜单ID获取页面权限
	public List QueryOpByModule(int moduleId);
	public Boolean saveTbPermission(TbPermission tbPermission);
	//删除权限
	public void deleteMenuSubByOrderby(int moduleId,String name);
	public List QueryMenu1(int orderby);
	//根据菜单的ID，获取子节点
	public List QueryMenuByParentID(int ParentOrderbyid);
	//删除菜单
	public void deleteMenu();
	public Boolean initRole(List<TbPermissionRole> tbPermissionRole);
	public List QueryMenu();
	public List<Object[]> QueryTbPermissionRole(String roleIdTj);
}
